core: Use linkat() for hardlink checkouts too
authorColin Walters <walters@verbum.org>
Sat, 7 Sep 2013 23:01:27 +0000 (19:01 -0400)
committerColin Walters <walters@verbum.org>
Sun, 8 Sep 2013 18:40:09 +0000 (14:40 -0400)
commit9846fb27fd008ac08dcc4b304fcd314eb75bba09
tree402bdd37aa3efb064f58197a93bca9ef21cc72b0
parentdb148cc9ba6b5f8cd54dae6e6d81927c235e955c
core: Use linkat() for hardlink checkouts too

Clean up how we deal with the uncompressed object cache; we now use
openat()/linkat() and such just like we do for the main objects/.

Use linkat() between the objects and the destination, if possible.

https://bugzilla.gnome.org/show_bug.cgi?id=707733
src/libostree/ostree-core-private.h
src/libostree/ostree-core.c
src/libostree/ostree-repo-checkout.c
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo.c